1' Goto Line Numbers
2 if x = 3 then 15
3 if x = 3 then goto 15
5 if x = 3 then 15 else 20
6 if x = 3 then goto 15 else goto 20
7 if x = 3 then goto 15 else 20
8 if x = 3 then 15 else goto 20
10 X = X + 1
15 X = 1
20 Y = 1

' GOTO labels
32 if x = 3 then label1
33 if x = 3 then goto label2
35 if x = 3 then label1 else label2
36 if x = 3 then goto label1 else goto label2
37 if x = 3 then goto label1 else label2
38 if x = 3 then label1 else goto label2
40 X = X + 1
45 X = 1
50 Y = 1
label1: aaa
label2: yyy

' 20 ' an out of order linenumber

55: X = 0 ' this is an example of a line number label

' test Remarks and multiple statements in one line
60 X = X + 1
65 X = X - 1 : ? "'" + " REM " + "a comment" + "GOTO 60" : GOTO 60 
70 X = X       REM GOTO 65 ' GOTO 65
abc: Y = Z     ' GOTO 65 REM GOTO 65
   Y = Z: X = A: P = Q : A = NOT A :GOSUB 65 : GOSUB 65 :GOTO 65 : GOTO 65 : GOSub 65 ' GOSUB 65
72 on x GOTO 60, 65, abc, 60 : Gosub 60, 65, abc, 60 :REM Gosub 65 
   GoTo 60
75 If x = 7 then
80    y$ = ":" + "'" : GOSUB 60
85 else
90    y$ = ""
95 Endif
Rem x
if x = 10 then
  y = 0 :REMx
else
  y = 1
  Theorem = 1
endif 
' aaa ReM xxx


' test Setpin and parameters

140 SetPin 1, 7, 200 ' param 3 is optional
145 SetPin 1, 7, 200
150 Setpin 1, 7, Abcd ' a comment
155 Setpin 1, 7, Abcd
160 SetPin 1, 7      ' a comment
170 SetPin 1,7
200 ' The SetPin routine address
Abcd:

' Test SetTick and parameters

230 SetTick 1, 250
232 Settick 1,250
234 Settick 0,0     ' RESET Tick (don't change the zero! )
235 SetTick 2, TickRoutine
250 ' The SetTick routine address
TickRoutine:
